﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class header : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["UserInfo"] != null)
        {
            ManageUser objUser = Session["UserInfo"] as ManageUser;
            lblWelcome.Text = "Welcome &nbsp;" + objUser.FirstName + "&nbsp;" + objUser.LastName;
            lblWelcome.Visible = true;
            lnkLogout.Visible = true;
        }
    }
}
